package com.ying.timed.dao;

import com.ying.timed.entity.Timed;
import com.ying.timed.entity.TimedQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TimedDao {
    /**
     *
     * @mbg.generated 2020-08-31
     */
    long countByQuery(TimedQuery example);

    /**
     *
     * @mbg.generated 2020-08-31
     */
    int deleteByQuery(TimedQuery example);

    /**
     *
     * @mbg.generated 2020-08-31
     */
    int deleteByPrimaryKey(Long jobId);

    /**
     *
     * @mbg.generated 2020-08-31
     */
    int insert(Timed record);

    /**
     *
     * @mbg.generated 2020-08-31
     */
    int insertSelective(Timed record);

    /**
     *
     * @mbg.generated 2020-08-31
     */
    List<Timed> selectByQuery(TimedQuery example);

    /**
     *
     * @mbg.generated 2020-08-31
     */
    Timed selectByPrimaryKey(Long jobId);

    /**
     *
     * @mbg.generated 2020-08-31
     */
    int updateByQuerySelective(@Param("record") Timed record, @Param("example") TimedQuery example);

    /**
     *
     * @mbg.generated 2020-08-31
     */
    int updateByQuery(@Param("record") Timed record, @Param("example") TimedQuery example);

    /**
     *
     * @mbg.generated 2020-08-31
     */
    int updateByPrimaryKeySelective(Timed record);

    /**
     *
     * @mbg.generated 2020-08-31
     */
    int updateByPrimaryKey(Timed record);
}